package com.kust.smarhome.background.common.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class PasswordVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "新密码不能为空")
    private String checkPass;

    @NotBlank(message = "确认密码不能为空")
    private String currentPass;
}
